﻿using 依赖注入案例练习;

namespace Microsoft.Extensions.DependencyInjection;

public static class LogExtensions
{
    public static void AddLog(this IServiceCollection serviceCollection)
    {
        serviceCollection.AddScoped<ILog, Log>();
    }
}